﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:SchedulerControl_Controls="clr-namespace:SchedulerControl.Controls;assembly=SchedulerControl" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" xmlns:ee="http://schemas.microsoft.com/expression/2010/effects" mc:Ignorable="d"
    >

    <Style TargetType="SchedulerControl_Controls:ChangeScheduleViewControl">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="SchedulerControl_Controls:ChangeScheduleViewControl">
                    <Grid x:Name="LayoutRoot">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0:0:0.2"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ColorAnimation Duration="0" To="#FF166FE7" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="rectangle" />
                                        <DoubleAnimation Duration="0" To="0.679" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)" Storyboard.TargetName="rectangle" />
                                        <DoubleAnimation Duration="0" To="1.503" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="grid" />
                                        <DoubleAnimation Duration="0" To="1.503" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="grid" />
                                        <DoubleAnimation Duration="0" To="5.564" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="grid" />
                                        <DoubleAnimation Duration="0" To="-0.265" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="grid" />
                                        <ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="rectangle" />
                                        <ColorAnimation Duration="0" To="#FFCCCCCC" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="rectangle" />
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                		<ColorAnimation Duration="0" To="#FF166FE7" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="rectangle" />
                                		<DoubleAnimation Duration="0" To="0.679" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)" Storyboard.TargetName="rectangle" />
                                		<DoubleAnimation Duration="0" To="1.503" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="grid" />
                                		<DoubleAnimation Duration="0" To="1.503" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="grid" />
                                		<DoubleAnimation Duration="0" To="5.564" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="grid" />
                                		<DoubleAnimation Duration="0" To="-0.265" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="grid" />
                                		<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.CenterOfRotationZ)" Storyboard.TargetName="grid" d:IsOptimized="True"/>
                                		<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.CenterOfRotationX)" Storyboard.TargetName="grid" d:IsOptimized="True"/>
                                		<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.CenterOfRotationY)" Storyboard.TargetName="grid" d:IsOptimized="True"/>
                                	</Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="CheckStates">
                                <VisualState x:Name="Checked">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="rectangle2">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="rectangle2" />
                                        <ColorAnimation Duration="0" To="#1FFF8C00" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="rectangle2" />
                                        <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textBlock" />
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(TextBlock.FontWeight)" Storyboard.TargetName="textBlock">
                                        	<DiscreteObjectKeyFrame KeyTime="0">
                                        		<DiscreteObjectKeyFrame.Value>
                                        			<FontWeight>Bold</FontWeight>
                                        		</DiscreteObjectKeyFrame.Value>
                                        	</DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unchecked"/>
                                <VisualState x:Name="Indeterminate"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                    	<VisualStateManager.CustomVisualStateManager>
                    		<ei:ExtendedVisualStateManager/>
                    	</VisualStateManager.CustomVisualStateManager>
                        <Rectangle x:Name="rectangle" Stroke="#FF9B9B9B" Height="25" VerticalAlignment="Top" >
                            <Rectangle.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FF818181"/>
                                    <GradientStop Color="#FF3D3D3D" Offset="0.812"/>
                                    <GradientStop Color="#FF3D3D3D" Offset="0.51"/>
                                    <GradientStop Color="#6D20499B" Offset="0.958"/>
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                        <Rectangle x:Name="rectangle2" Stroke="Black" Visibility="Collapsed">
                            <Rectangle.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#6D454545" Offset="0.503"/>
                                    <GradientStop Color="#FFFFA400"/>
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                        <Rectangle x:Name="rectangle1" Margin="0,11,0,0" Opacity="0.58" Height="14" VerticalAlignment="Top" >
                            <Rectangle.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FF0E0E0E" Offset="0.113"/>
                                    <GradientStop Color="#6D454545" Offset="1"/>
                                    <GradientStop Color="Black"/>
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                        <Grid x:Name="grid" HorizontalAlignment="Left" Margin="4,2,0,0" Width="20" RenderTransformOrigin="0.5,0.5" Height="20" VerticalAlignment="Top">
                        	<Grid.Projection>
                        		<PlaneProjection/>
                        	</Grid.Projection>
                            <Grid.RenderTransform>
                                <CompositeTransform/>
                            </Grid.RenderTransform>
                            <Grid x:Name="DayIconGrid" >
                                <Rectangle Margin="0,5,0,0" RadiusX="1" RadiusY="1">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FFC6C5C5" Offset="1"/>
                                            <GradientStop Color="#FF9D9D9D" Offset="0.392"/>
                                            <GradientStop Color="#FFBEBEBE" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                    <Rectangle.Stroke>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="White" Offset="0"/>
                                            <GradientStop Color="#FFFDFDFD" Offset="1"/>
                                            <GradientStop Color="#FFE0E0E0" Offset="0.504"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Stroke>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFFF9800" Offset="0"/>
                                            <GradientStop Color="#FFFF9800" Offset="1"/>
                                            <GradientStop Color="#FFC25000" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Right" Height="0" Margin="0,8,3,0" StrokeThickness="0" VerticalAlignment="Top" Width="1">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFFF9800" Offset="0"/>
                                            <GradientStop Color="#FFFF9800" Offset="1"/>
                                            <GradientStop Color="#FFC25000" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="White"/>
                                            <GradientStop Color="#FFC01C1C" Offset="1"/>
                                            <GradientStop Color="#FF890303" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Right" Height="2" Margin="0,0,4,0" VerticalAlignment="Top" Width="3" StrokeThickness="0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Left" Height="2" Margin="4,0,0,0" VerticalAlignment="Top" Width="3" StrokeThickness="0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="1.088,0,1.087,2.143" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" Height="4.481" VerticalAlignment="Bottom">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF852B17" Offset="0"/>
                                			<GradientStop Color="#FFEB0707" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="1.088,8,1.087,9.706" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF852B17" Offset="0"/>
                                			<GradientStop Color="#FFEB0707" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                            </Grid>
                            <Grid  x:Name="WorkWeekIconGrid" >
                                <Rectangle Margin="0,5,0,0" RadiusX="1" RadiusY="1">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FFC6C5C5" Offset="1"/>
                                            <GradientStop Color="#FF9D9D9D" Offset="0.392"/>
                                            <GradientStop Color="#FFBEBEBE" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                    <Rectangle.Stroke>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="White" Offset="0"/>
                                            <GradientStop Color="#FFFDFDFD" Offset="1"/>
                                            <GradientStop Color="#FFE0E0E0" Offset="0.504"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Stroke>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFFF9800" Offset="0"/>
                                            <GradientStop Color="#FFFF9800" Offset="1"/>
                                            <GradientStop Color="#FFC25000" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Right" Height="0" Margin="0,8,3,0" StrokeThickness="0" VerticalAlignment="Top" Width="1">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFFF9800" Offset="0"/>
                                            <GradientStop Color="#FFFF9800" Offset="1"/>
                                            <GradientStop Color="#FFC25000" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="White" Offset="0"/>
                                            <GradientStop Color="#FFFF9800" Offset="1"/>
                                            <GradientStop Color="#FFC25000" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Right" Height="2" Margin="0,0,4,0" VerticalAlignment="Top" Width="3" StrokeThickness="0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Left" Height="2" Margin="4,0,0,0" VerticalAlignment="Top" Width="3" StrokeThickness="0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Left" Margin="4.357,6,0,1.019" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.3"/>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Left" Margin="7.876,6,0,1.019" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.3"/>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Right" Margin="0,6,8.062,1.019" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.301"/>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Right" Margin="0,6,4.249,1.019" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.301"/>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="1.088,8,0,9.706" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" HorizontalAlignment="Left" Width="3.269">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FFFFA400" Offset="0"/>
                                			<GradientStop Color="#FFED4C00" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="4.657,0,0,6.019" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" HorizontalAlignment="Left" Width="3.269" Height="2.293" VerticalAlignment="Bottom">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FFFFA400" Offset="0"/>
                                			<GradientStop Color="#FFED4C00" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="8.233,6.5,8.498,0" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" Height="2.293" VerticalAlignment="Top">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FFFFA400" Offset="0"/>
                                			<GradientStop Color="#FFED4C00" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="0,0,4.742,3.02" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" Height="2.292" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="3.269">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FFFFA400" Offset="0"/>
                                			<GradientStop Color="#FFED4C00" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="0,9.708,1.094,8" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" HorizontalAlignment="Right" Width="3.269">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FFFFA400" Offset="0"/>
                                			<GradientStop Color="#FFED4C00" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                            </Grid>
                            <Grid   x:Name="WeekIconGrid" >
                                <Rectangle Margin="0,5,0,0" RadiusX="1" RadiusY="1">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FFC6C5C5" Offset="1"/>
                                            <GradientStop Color="#FF9D9D9D" Offset="0.392"/>
                                            <GradientStop Color="#FFBEBEBE" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                    <Rectangle.Stroke>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="White" Offset="0"/>
                                            <GradientStop Color="#FFFDFDFD" Offset="1"/>
                                            <GradientStop Color="#FFE0E0E0" Offset="0.504"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Stroke>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFFF9800" Offset="0"/>
                                            <GradientStop Color="#FFFF9800" Offset="1"/>
                                            <GradientStop Color="#FFC25000" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Right" Height="0" Margin="0,8,3,0" StrokeThickness="0" VerticalAlignment="Top" Width="1">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFFF9800" Offset="0"/>
                                            <GradientStop Color="#FFFF9800" Offset="1"/>
                                            <GradientStop Color="#FFC25000" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="White" Offset="0"/>
                                            <GradientStop Color="#FF2596FF" Offset="1"/>
                                            <GradientStop Color="#FF0057A7" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Right" Height="2" Margin="0,0,4,0" VerticalAlignment="Top" Width="3" StrokeThickness="0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Left" Height="2" Margin="4,0,0,0" VerticalAlignment="Top" Width="3" StrokeThickness="0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Left" Margin="3.418,6,0,1.019" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.215" Stretch="Fill"/>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Left" Margin="5.927,6,0,1.019" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.214" Stretch="Fill"/>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Left" Margin="8.608,6,0,1.019" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.215" Stretch="Fill"/>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Right" Margin="0,6,8.459,1.019" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.215" Stretch="Fill"/>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="1.088,8,0,9.706" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" HorizontalAlignment="Left" Width="2.33">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF02E2FF" Offset="0"/>
                                			<GradientStop Color="#FF00B0B4" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="3.633,0,0,6.019" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" HorizontalAlignment="Left" Width="2.33" Height="2.293" VerticalAlignment="Bottom">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF02E2FF" Offset="0"/>
                                			<GradientStop Color="#FF00B0B4" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="6.181,6.5,0,0" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" Height="2.293" VerticalAlignment="Top" HorizontalAlignment="Left" Width="2.427">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF02E2FF" Offset="0"/>
                                			<GradientStop Color="#FF00B0B4" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="8.859,0,8.674,3.02" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" Height="2.292" VerticalAlignment="Bottom">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF02E2FF" Offset="0"/>
                                			<GradientStop Color="#FF00B0B4" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="0,0,6.129,7.062" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" HorizontalAlignment="Right" Width="2.33" Height="2.292" VerticalAlignment="Bottom">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF02E2FF" Offset="0"/>
                                			<GradientStop Color="#FF00B0B4" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Right" Margin="0,6,3.374,1.019" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.214" Stretch="Fill"/>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="0,0,3.588,5.082" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" Height="2.293" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="2.331">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF02E2FF" Offset="0"/>
                                			<GradientStop Color="#FF00B0B4" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="0,7.896,1.061,9.812" StrokeThickness="0.2" UseLayoutRounding="False" Stretch="Fill" HorizontalAlignment="Right" Width="2.331">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF02E2FF" Offset="0"/>
                                			<GradientStop Color="#FF00B0B4" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Right" Margin="0,6,5.996,1.019" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.214" Stretch="Fill"/>
                            </Grid>
                            <Grid   x:Name="MonthIconGrid" d:IsHidden="True" >
                                <Rectangle Margin="0,5,0,0" RadiusX="1" RadiusY="1">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FFC6C5C5" Offset="1"/>
                                            <GradientStop Color="#FF9D9D9D" Offset="0.392"/>
                                            <GradientStop Color="#FFBEBEBE" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                    <Rectangle.Stroke>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="White" Offset="0"/>
                                            <GradientStop Color="#FFFDFDFD" Offset="1"/>
                                            <GradientStop Color="#FFE0E0E0" Offset="0.504"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Stroke>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFFF9800" Offset="0"/>
                                            <GradientStop Color="#FFFF9800" Offset="1"/>
                                            <GradientStop Color="#FFC25000" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Right" Height="0" Margin="0,8,3,0" StrokeThickness="0" VerticalAlignment="Top" Width="1">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFFF9800" Offset="0"/>
                                            <GradientStop Color="#FFFF9800" Offset="1"/>
                                            <GradientStop Color="#FFC25000" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle Height="4" VerticalAlignment="Top" RadiusX="1" RadiusY="1" Margin="0,1,0,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="White" Offset="0"/>
                                            <GradientStop Color="#FF7CFF25" Offset="1"/>
                                            <GradientStop Color="#FF05A700" Offset="0.508"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Right" Height="2" Margin="0,0,4,0" VerticalAlignment="Top" Width="3" StrokeThickness="0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle HorizontalAlignment="Left" Height="2" Margin="4,0,0,0" VerticalAlignment="Top" Width="3" StrokeThickness="0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFEFEFEF" Offset="0"/>
                                            <GradientStop Color="#FF2B2B2B" Offset="1"/>
                                            <GradientStop Color="#FF3F3F3F" Offset="0.392"/>
                                            <GradientStop Color="#FF898989" Offset="0.678"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Path Data="M0.5,0.50228822 L18.36275,0.5" Height="1.002" Margin="0.575,7.361,0.962,0" UseLayoutRounding="False" VerticalAlignment="Top" Stroke="#FF9B9B9B" StrokeThickness="0.2"/>
                                <Path Data="M0.5,0.50228822 L18.36275,0.5" Margin="0.575,9.487,0.962,9.511" UseLayoutRounding="False" Stroke="#FF9B9B9B" StrokeThickness="0.2"/>
                                <Path Data="M0.5,0.50228822 L18.36275,0.5" Margin="0.575,0,0.962,7.295" UseLayoutRounding="False" Stroke="#FF9B9B9B" StrokeThickness="0.2" Height="1.002" VerticalAlignment="Bottom"/>
                                <Path Data="M0.5,0.50228822 L18.36275,0.5" Margin="0.575,0,0.962,4.899" UseLayoutRounding="False" Stroke="#FF9B9B9B" StrokeThickness="0.2" Height="1.002" VerticalAlignment="Bottom"/>
                                <Path Data="M0.5,0.50228822 L18.36275,0.5" Margin="0.575,0,0.962,2.417" UseLayoutRounding="False" Stroke="#FF9B9B9B" StrokeThickness="0.2" Height="1.002" VerticalAlignment="Bottom"/>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Left" Margin="4.401,5.994,0,1.025" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.3"/>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Left" Margin="7.907,5.994,0,1.025" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.3"/>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Right" Margin="0,5.994,8.062,1.025" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.3"/>
                                <Path Data="M0.1,0.1 L0.1,12.881" HorizontalAlignment="Right" Margin="0,5.994,4.372,1.025" Stroke="#FF9B9B9B" StrokeThickness="0.2" UseLayoutRounding="False" Width="0.3"/>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" HorizontalAlignment="Left" Margin="4.4,7.806,0,9.9" StrokeThickness="0.2" UseLayoutRounding="False" Width="3.7">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF4E754D" Offset="0"/>
                                			<GradientStop Color="#FF0BA806" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="8,0,8.3,2.993" StrokeThickness="0.2" UseLayoutRounding="False" Height="2.294" VerticalAlignment="Bottom">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF4E754D" Offset="0"/>
                                			<GradientStop Color="#FF0BA806" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                                <Path Data="M0.1,0.1 L3.5999999,0.1 L3.5999999,2.1940002 L0.10000038,2.1940002 z" Margin="0,9.923,4.569,7.783" StrokeThickness="0.2" UseLayoutRounding="False" HorizontalAlignment="Right" Width="3.7">
                                	<Path.Fill>
                                		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                			<GradientStop Color="#FF4E754D" Offset="0"/>
                                			<GradientStop Color="#FF0BA806" Offset="1"/>
                                		</LinearGradientBrush>
                                	</Path.Fill>
                                </Path>
                            </Grid>
                        </Grid>
                        <TextBlock x:Name="textBlock" TextWrapping="Wrap"  Opacity="0.6" Margin="37,0,10,0" FontSize="16"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="FontFamily" Value="/SchedulerControl;component/Fonts/Fonts.zip#B Mitra"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="Foreground" Value="White"/>
    </Style>

</ResourceDictionary>
